package com.jxtti.dao;

import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;

import com.jxtti.entity.SiteMenu;

@Repository
public interface SiteMenuDao<T> {
	public List<SiteMenu> queryByList(Map<String, Object> data);
	
	public SiteMenu queryById(SiteMenu  entity);
	
	public List<SiteMenu> findByPid(Map<String, Object> data);	
	
	public int add(SiteMenu entity);	
	
	public int update(SiteMenu entity);	
	
	public int delete(SiteMenu entity);
	
	public int queryByCount(SiteMenu entity);
	
	List<SiteMenu> getTreeNodes(Map<String, String> data);
	
	public List<SiteMenu> findPidAndPid(Map<String, Object> data);	
}
